@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>员工工资管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-lg-10 col-sm-9">
                                <div class="row">
                                    <div class="col-lg-10 col-sm-9">
                                        <div class="row">
										    <div class="col-sm-3">
													<#SelectCon id="platform" name="平台名称" >
													${deptutil.getPlatformById()}
												</#SelectCon>
											</div>
                                            <div class="col-lg-4 col-sm-6">
                                                <#TimeCon id="payTime" name="工资月份" isTime="false" pattern="month"  value="${tool.currentMonth()}"/>
                                            </div>

                                        </div>
                                    </div>
                                    <div class="col-lg-2 col-sm-3">
                                        <div class="row">
                                            <div class="col-lg-12 col-sm-12">
                                                <#button name="搜索" icon="fa-search" clickFun="Payroll.search()"/>
                                                <#button name="重置" icon="fa-trash" clickFun="Payroll.resetSearch()" space="true"/>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="hidden-xs" id="PayrollTableToolbar" role="group">
                            @if(shiro.hasPermission("/payroll/add")){
                                <#button name="添加" icon="fa-plus" clickFun="Payroll.openAddPayroll()"/>
                            @}
                            @if(shiro.hasPermission("/payroll/update")){
                                <#button name="修改" icon="fa-edit" clickFun="Payroll.openPayrollDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/payroll/delete")){
                                <#button name="删除" icon="fa-remove" clickFun="Payroll.delete()" space="true"/>
                            @}
                            <#button name="导出" icon="fa-plus" clickFun="Payroll.exportPayroll()" space="true"/>

                            <#button name="上传" icon="fa-plus" clickFun="Payroll.upLoadFile()" space="true"/>
                            <#button name="导出模板" icon="fa-plus" clickFun="Payroll.exportModel()" space="true"/>

                        </div>
                        <#table id="PayrollTable" />
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/payroll/payroll/payroll.js"></script>
<script >
$(function(){
		laydate.render({
		  elem: '#payTime',
		  type: 'month'
		});
})

</script>
@}
